A USB Class Driver sample demonstrating the implementation of a USB Class Driver for a HID Class device - specifically the Wacom tablet device. Note that this sample advertises the device as mouse device and does not support the absolute positioning aspects of the graphics tablet. There is also no compatibility shim provided for this purpose.
Description
This code demonstrates how to support a HID device via the InterfaceInitialize entry point. It also demonstrates the use of the USBFindNextInterface and the USBOpenDevice calls for device configuration and setup.
Building the Code
This sample was built using the Metrowerks CodeWarrior Pro 2, IDE v2.1 environment and the Mac OS USB DDK v1.0.1. Also required, is the Universal Interfaces and Libraries 3.1.
You can also build this sample using MPW which has already been configured for the USB DDK. The USBTablet sample will appear as another sample in the USBDDK menu.
Bug Reports:
If you find any bugs, please send them to "usb@isg.apple.com" and include "Attn: Rich Kubota" and I will try to address them.
Questions??:
For any questions which you may have with this sample or with Mac OS USB, please submit them to either the Mac OS USB mailing list, usb@apple.com, or to Worldwide Macintosh Developer Technical Support (WWDTS), dts@apple.com. If you are not familiar with the recent changes to the WWDTS support plans, please check them out at the Developer Programs web page,
<http://developer.apple.com/programs/>
To subscribe to the Mac OS USB Developer mailing list, send an email to usb@isg.apple.com with the email subject set to "subscribe".